package com.qf.zyh.services;

import com.qf.zyh.common.ResponseResult;
import com.qf.zyh.common.ResultType;
import com.qf.zyh.entity.AdminUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminUserServices {
    AdminUser getUserByEmpwd(String email,String password);
    AdminUser getUserByEm(String email);

    ResultType table(Integer page, Integer limit, String realName, String email, Integer status);

    ResponseResult getassign(Integer userId, Integer[] roleIds);

    List<Integer> getuserRole(Integer userId);

    ResponseResult addUser(AdminUser adminUser);

    ResponseResult updateUser(AdminUser adminUser);

    ResponseResult delUser(Integer[] ids);
}
